import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

// import Home from '../components/Home'
import User from '../components/User'
import Role from '../components/Role'
import UserRole from '../components/UserRole'


const routes = [
  // {
  //   path: '/',
  //   name: 'Home',
  //   component: Home
  // },
  {
    path: '/user',
    name: 'User',
    component: User
  },
  {
    path: '/role',
    name: 'Role',
    component: Role
  },
  {
    path: '/userRole',
    name: 'UserRole',
    component: UserRole
  },
]

const router = new VueRouter({
  routes
})

export default router
